Option Strict On
Option Explicit On 

Public Class UDataSet
    Inherits System.Windows.Forms.UserControl

#Region " Windows Form Designer generated code "

    Public Sub New()
        MyBase.New()

        'This call is required by the Windows Form Designer.
        InitializeComponent()

        'Add any initialization after the InitializeComponent() call

    End Sub

    'Form overrides dispose to clean up the component list.
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing Then
            If Not (components Is Nothing) Then
                components.Dispose()
            End If
        End If
        MyBase.Dispose(disposing)
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    Friend WithEvents chkEnforceConstraints As System.Windows.Forms.CheckBox
    Friend WithEvents chkCaseSensitive As System.Windows.Forms.CheckBox
    Friend WithEvents cboLocale As System.Windows.Forms.ComboBox
    Friend WithEvents lblLocale As System.Windows.Forms.Label
    Friend WithEvents lblNamespace As System.Windows.Forms.Label
    Friend WithEvents txtNamespace As System.Windows.Forms.TextBox
    Friend WithEvents lblPrefix As System.Windows.Forms.Label
    Friend WithEvents txtPrefix As System.Windows.Forms.TextBox
    Friend WithEvents txtDataSetName As System.Windows.Forms.TextBox
    Friend WithEvents lblDataSetName As System.Windows.Forms.Label
    Friend WithEvents ErrorProvider1 As System.Windows.Forms.ErrorProvider
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(UDataSet))
        Me.chkEnforceConstraints = New System.Windows.Forms.CheckBox
        Me.chkCaseSensitive = New System.Windows.Forms.CheckBox
        Me.lblPrefix = New System.Windows.Forms.Label
        Me.txtPrefix = New System.Windows.Forms.TextBox
        Me.lblNamespace = New System.Windows.Forms.Label
        Me.txtNamespace = New System.Windows.Forms.TextBox
        Me.cboLocale = New System.Windows.Forms.ComboBox
        Me.lblLocale = New System.Windows.Forms.Label
        Me.txtDataSetName = New System.Windows.Forms.TextBox
        Me.lblDataSetName = New System.Windows.Forms.Label
        Me.ErrorProvider1 = New System.Windows.Forms.ErrorProvider
        Me.SuspendLayout()
        '
        'chkEnforceConstraints
        '
        Me.chkEnforceConstraints.AccessibleDescription = resources.GetString("chkEnforceConstraints.AccessibleDescription")
        Me.chkEnforceConstraints.AccessibleName = resources.GetString("chkEnforceConstraints.AccessibleName")
        Me.chkEnforceConstraints.Anchor = CType(resources.GetObject("chkEnforceConstraints.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.chkEnforceConstraints.Appearance = CType(resources.GetObject("chkEnforceConstraints.Appearance"), System.Windows.Forms.Appearance)
        Me.chkEnforceConstraints.BackgroundImage = CType(resources.GetObject("chkEnforceConstraints.BackgroundImage"), System.Drawing.Image)
        Me.chkEnforceConstraints.CheckAlign = CType(resources.GetObject("chkEnforceConstraints.CheckAlign"), System.Drawing.ContentAlignment)
        Me.chkEnforceConstraints.Dock = CType(resources.GetObject("chkEnforceConstraints.Dock"), System.Windows.Forms.DockStyle)
        Me.chkEnforceConstraints.Enabled = CType(resources.GetObject("chkEnforceConstraints.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.chkEnforceConstraints, resources.GetString("chkEnforceConstraints.Error"))
        Me.chkEnforceConstraints.FlatStyle = CType(resources.GetObject("chkEnforceConstraints.FlatStyle"), System.Windows.Forms.FlatStyle)
        Me.chkEnforceConstraints.Font = CType(resources.GetObject("chkEnforceConstraints.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.chkEnforceConstraints, CType(resources.GetObject("chkEnforceConstraints.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.chkEnforceConstraints, CType(resources.GetObject("chkEnforceConstraints.IconPadding"), Integer))
        Me.chkEnforceConstraints.Image = CType(resources.GetObject("chkEnforceConstraints.Image"), System.Drawing.Image)
        Me.chkEnforceConstraints.ImageAlign = CType(resources.GetObject("chkEnforceConstraints.ImageAlign"), System.Drawing.ContentAlignment)
        Me.chkEnforceConstraints.ImageIndex = CType(resources.GetObject("chkEnforceConstraints.ImageIndex"), Integer)
        Me.chkEnforceConstraints.ImeMode = CType(resources.GetObject("chkEnforceConstraints.ImeMode"), System.Windows.Forms.ImeMode)
        Me.chkEnforceConstraints.Location = CType(resources.GetObject("chkEnforceConstraints.Location"), System.Drawing.Point)
        Me.chkEnforceConstraints.Name = "chkEnforceConstraints"
        Me.chkEnforceConstraints.RightToLeft = CType(resources.GetObject("chkEnforceConstraints.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.chkEnforceConstraints.Size = CType(resources.GetObject("chkEnforceConstraints.Size"), System.Drawing.Size)
        Me.chkEnforceConstraints.TabIndex = CType(resources.GetObject("chkEnforceConstraints.TabIndex"), Integer)
        Me.chkEnforceConstraints.Text = resources.GetString("chkEnforceConstraints.Text")
        Me.chkEnforceConstraints.TextAlign = CType(resources.GetObject("chkEnforceConstraints.TextAlign"), System.Drawing.ContentAlignment)
        Me.chkEnforceConstraints.Visible = CType(resources.GetObject("chkEnforceConstraints.Visible"), Boolean)
        '
        'chkCaseSensitive
        '
        Me.chkCaseSensitive.AccessibleDescription = resources.GetString("chkCaseSensitive.AccessibleDescription")
        Me.chkCaseSensitive.AccessibleName = resources.GetString("chkCaseSensitive.AccessibleName")
        Me.chkCaseSensitive.Anchor = CType(resources.GetObject("chkCaseSensitive.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.chkCaseSensitive.Appearance = CType(resources.GetObject("chkCaseSensitive.Appearance"), System.Windows.Forms.Appearance)
        Me.chkCaseSensitive.BackgroundImage = CType(resources.GetObject("chkCaseSensitive.BackgroundImage"), System.Drawing.Image)
        Me.chkCaseSensitive.CheckAlign = CType(resources.GetObject("chkCaseSensitive.CheckAlign"), System.Drawing.ContentAlignment)
        Me.chkCaseSensitive.Dock = CType(resources.GetObject("chkCaseSensitive.Dock"), System.Windows.Forms.DockStyle)
        Me.chkCaseSensitive.Enabled = CType(resources.GetObject("chkCaseSensitive.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.chkCaseSensitive, resources.GetString("chkCaseSensitive.Error"))
        Me.chkCaseSensitive.FlatStyle = CType(resources.GetObject("chkCaseSensitive.FlatStyle"), System.Windows.Forms.FlatStyle)
        Me.chkCaseSensitive.Font = CType(resources.GetObject("chkCaseSensitive.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.chkCaseSensitive, CType(resources.GetObject("chkCaseSensitive.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.chkCaseSensitive, CType(resources.GetObject("chkCaseSensitive.IconPadding"), Integer))
        Me.chkCaseSensitive.Image = CType(resources.GetObject("chkCaseSensitive.Image"), System.Drawing.Image)
        Me.chkCaseSensitive.ImageAlign = CType(resources.GetObject("chkCaseSensitive.ImageAlign"), System.Drawing.ContentAlignment)
        Me.chkCaseSensitive.ImageIndex = CType(resources.GetObject("chkCaseSensitive.ImageIndex"), Integer)
        Me.chkCaseSensitive.ImeMode = CType(resources.GetObject("chkCaseSensitive.ImeMode"), System.Windows.Forms.ImeMode)
        Me.chkCaseSensitive.Location = CType(resources.GetObject("chkCaseSensitive.Location"), System.Drawing.Point)
        Me.chkCaseSensitive.Name = "chkCaseSensitive"
        Me.chkCaseSensitive.RightToLeft = CType(resources.GetObject("chkCaseSensitive.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.chkCaseSensitive.Size = CType(resources.GetObject("chkCaseSensitive.Size"), System.Drawing.Size)
        Me.chkCaseSensitive.TabIndex = CType(resources.GetObject("chkCaseSensitive.TabIndex"), Integer)
        Me.chkCaseSensitive.Text = resources.GetString("chkCaseSensitive.Text")
        Me.chkCaseSensitive.TextAlign = CType(resources.GetObject("chkCaseSensitive.TextAlign"), System.Drawing.ContentAlignment)
        Me.chkCaseSensitive.Visible = CType(resources.GetObject("chkCaseSensitive.Visible"), Boolean)
        '
        'lblPrefix
        '
        Me.lblPrefix.AccessibleDescription = resources.GetString("lblPrefix.AccessibleDescription")
        Me.lblPrefix.AccessibleName = resources.GetString("lblPrefix.AccessibleName")
        Me.lblPrefix.Anchor = CType(resources.GetObject("lblPrefix.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblPrefix.AutoSize = CType(resources.GetObject("lblPrefix.AutoSize"), Boolean)
        Me.lblPrefix.Dock = CType(resources.GetObject("lblPrefix.Dock"), System.Windows.Forms.DockStyle)
        Me.lblPrefix.Enabled = CType(resources.GetObject("lblPrefix.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.lblPrefix, resources.GetString("lblPrefix.Error"))
        Me.lblPrefix.Font = CType(resources.GetObject("lblPrefix.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.lblPrefix, CType(resources.GetObject("lblPrefix.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.lblPrefix, CType(resources.GetObject("lblPrefix.IconPadding"), Integer))
        Me.lblPrefix.Image = CType(resources.GetObject("lblPrefix.Image"), System.Drawing.Image)
        Me.lblPrefix.ImageAlign = CType(resources.GetObject("lblPrefix.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblPrefix.ImageIndex = CType(resources.GetObject("lblPrefix.ImageIndex"), Integer)
        Me.lblPrefix.ImeMode = CType(resources.GetObject("lblPrefix.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblPrefix.Location = CType(resources.GetObject("lblPrefix.Location"), System.Drawing.Point)
        Me.lblPrefix.Name = "lblPrefix"
        Me.lblPrefix.RightToLeft = CType(resources.GetObject("lblPrefix.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblPrefix.Size = CType(resources.GetObject("lblPrefix.Size"), System.Drawing.Size)
        Me.lblPrefix.TabIndex = CType(resources.GetObject("lblPrefix.TabIndex"), Integer)
        Me.lblPrefix.Text = resources.GetString("lblPrefix.Text")
        Me.lblPrefix.TextAlign = CType(resources.GetObject("lblPrefix.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblPrefix.Visible = CType(resources.GetObject("lblPrefix.Visible"), Boolean)
        '
        'txtPrefix
        '
        Me.txtPrefix.AccessibleDescription = resources.GetString("txtPrefix.AccessibleDescription")
        Me.txtPrefix.AccessibleName = resources.GetString("txtPrefix.AccessibleName")
        Me.txtPrefix.Anchor = CType(resources.GetObject("txtPrefix.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.txtPrefix.AutoSize = CType(resources.GetObject("txtPrefix.AutoSize"), Boolean)
        Me.txtPrefix.BackgroundImage = CType(resources.GetObject("txtPrefix.BackgroundImage"), System.Drawing.Image)
        Me.txtPrefix.Dock = CType(resources.GetObject("txtPrefix.Dock"), System.Windows.Forms.DockStyle)
        Me.txtPrefix.Enabled = CType(resources.GetObject("txtPrefix.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.txtPrefix, resources.GetString("txtPrefix.Error"))
        Me.txtPrefix.Font = CType(resources.GetObject("txtPrefix.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.txtPrefix, CType(resources.GetObject("txtPrefix.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.txtPrefix, CType(resources.GetObject("txtPrefix.IconPadding"), Integer))
        Me.txtPrefix.ImeMode = CType(resources.GetObject("txtPrefix.ImeMode"), System.Windows.Forms.ImeMode)
        Me.txtPrefix.Location = CType(resources.GetObject("txtPrefix.Location"), System.Drawing.Point)
        Me.txtPrefix.MaxLength = CType(resources.GetObject("txtPrefix.MaxLength"), Integer)
        Me.txtPrefix.Multiline = CType(resources.GetObject("txtPrefix.Multiline"), Boolean)
        Me.txtPrefix.Name = "txtPrefix"
        Me.txtPrefix.PasswordChar = CType(resources.GetObject("txtPrefix.PasswordChar"), Char)
        Me.txtPrefix.RightToLeft = CType(resources.GetObject("txtPrefix.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.txtPrefix.ScrollBars = CType(resources.GetObject("txtPrefix.ScrollBars"), System.Windows.Forms.ScrollBars)
        Me.txtPrefix.Size = CType(resources.GetObject("txtPrefix.Size"), System.Drawing.Size)
        Me.txtPrefix.TabIndex = CType(resources.GetObject("txtPrefix.TabIndex"), Integer)
        Me.txtPrefix.Text = resources.GetString("txtPrefix.Text")
        Me.txtPrefix.TextAlign = CType(resources.GetObject("txtPrefix.TextAlign"), System.Windows.Forms.HorizontalAlignment)
        Me.txtPrefix.Visible = CType(resources.GetObject("txtPrefix.Visible"), Boolean)
        Me.txtPrefix.WordWrap = CType(resources.GetObject("txtPrefix.WordWrap"), Boolean)
        '
        'lblNamespace
        '
        Me.lblNamespace.AccessibleDescription = resources.GetString("lblNamespace.AccessibleDescription")
        Me.lblNamespace.AccessibleName = resources.GetString("lblNamespace.AccessibleName")
        Me.lblNamespace.Anchor = CType(resources.GetObject("lblNamespace.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblNamespace.AutoSize = CType(resources.GetObject("lblNamespace.AutoSize"), Boolean)
        Me.lblNamespace.Dock = CType(resources.GetObject("lblNamespace.Dock"), System.Windows.Forms.DockStyle)
        Me.lblNamespace.Enabled = CType(resources.GetObject("lblNamespace.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.lblNamespace, resources.GetString("lblNamespace.Error"))
        Me.lblNamespace.Font = CType(resources.GetObject("lblNamespace.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.lblNamespace, CType(resources.GetObject("lblNamespace.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.lblNamespace, CType(resources.GetObject("lblNamespace.IconPadding"), Integer))
        Me.lblNamespace.Image = CType(resources.GetObject("lblNamespace.Image"), System.Drawing.Image)
        Me.lblNamespace.ImageAlign = CType(resources.GetObject("lblNamespace.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblNamespace.ImageIndex = CType(resources.GetObject("lblNamespace.ImageIndex"), Integer)
        Me.lblNamespace.ImeMode = CType(resources.GetObject("lblNamespace.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblNamespace.Location = CType(resources.GetObject("lblNamespace.Location"), System.Drawing.Point)
        Me.lblNamespace.Name = "lblNamespace"
        Me.lblNamespace.RightToLeft = CType(resources.GetObject("lblNamespace.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblNamespace.Size = CType(resources.GetObject("lblNamespace.Size"), System.Drawing.Size)
        Me.lblNamespace.TabIndex = CType(resources.GetObject("lblNamespace.TabIndex"), Integer)
        Me.lblNamespace.Text = resources.GetString("lblNamespace.Text")
        Me.lblNamespace.TextAlign = CType(resources.GetObject("lblNamespace.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblNamespace.Visible = CType(resources.GetObject("lblNamespace.Visible"), Boolean)
        '
        'txtNamespace
        '
        Me.txtNamespace.AccessibleDescription = resources.GetString("txtNamespace.AccessibleDescription")
        Me.txtNamespace.AccessibleName = resources.GetString("txtNamespace.AccessibleName")
        Me.txtNamespace.Anchor = CType(resources.GetObject("txtNamespace.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.txtNamespace.AutoSize = CType(resources.GetObject("txtNamespace.AutoSize"), Boolean)
        Me.txtNamespace.BackgroundImage = CType(resources.GetObject("txtNamespace.BackgroundImage"), System.Drawing.Image)
        Me.txtNamespace.Dock = CType(resources.GetObject("txtNamespace.Dock"), System.Windows.Forms.DockStyle)
        Me.txtNamespace.Enabled = CType(resources.GetObject("txtNamespace.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.txtNamespace, resources.GetString("txtNamespace.Error"))
        Me.txtNamespace.Font = CType(resources.GetObject("txtNamespace.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.txtNamespace, CType(resources.GetObject("txtNamespace.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.txtNamespace, CType(resources.GetObject("txtNamespace.IconPadding"), Integer))
        Me.txtNamespace.ImeMode = CType(resources.GetObject("txtNamespace.ImeMode"), System.Windows.Forms.ImeMode)
        Me.txtNamespace.Location = CType(resources.GetObject("txtNamespace.Location"), System.Drawing.Point)
        Me.txtNamespace.MaxLength = CType(resources.GetObject("txtNamespace.MaxLength"), Integer)
        Me.txtNamespace.Multiline = CType(resources.GetObject("txtNamespace.Multiline"), Boolean)
        Me.txtNamespace.Name = "txtNamespace"
        Me.txtNamespace.PasswordChar = CType(resources.GetObject("txtNamespace.PasswordChar"), Char)
        Me.txtNamespace.RightToLeft = CType(resources.GetObject("txtNamespace.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.txtNamespace.ScrollBars = CType(resources.GetObject("txtNamespace.ScrollBars"), System.Windows.Forms.ScrollBars)
        Me.txtNamespace.Size = CType(resources.GetObject("txtNamespace.Size"), System.Drawing.Size)
        Me.txtNamespace.TabIndex = CType(resources.GetObject("txtNamespace.TabIndex"), Integer)
        Me.txtNamespace.Text = resources.GetString("txtNamespace.Text")
        Me.txtNamespace.TextAlign = CType(resources.GetObject("txtNamespace.TextAlign"), System.Windows.Forms.HorizontalAlignment)
        Me.txtNamespace.Visible = CType(resources.GetObject("txtNamespace.Visible"), Boolean)
        Me.txtNamespace.WordWrap = CType(resources.GetObject("txtNamespace.WordWrap"), Boolean)
        '
        'cboLocale
        '
        Me.cboLocale.AccessibleDescription = resources.GetString("cboLocale.AccessibleDescription")
        Me.cboLocale.AccessibleName = resources.GetString("cboLocale.AccessibleName")
        Me.cboLocale.Anchor = CType(resources.GetObject("cboLocale.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.cboLocale.BackgroundImage = CType(resources.GetObject("cboLocale.BackgroundImage"), System.Drawing.Image)
        Me.cboLocale.Dock = CType(resources.GetObject("cboLocale.Dock"), System.Windows.Forms.DockStyle)
        Me.cboLocale.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.cboLocale.Enabled = CType(resources.GetObject("cboLocale.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.cboLocale, resources.GetString("cboLocale.Error"))
        Me.cboLocale.Font = CType(resources.GetObject("cboLocale.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.cboLocale, CType(resources.GetObject("cboLocale.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.cboLocale, CType(resources.GetObject("cboLocale.IconPadding"), Integer))
        Me.cboLocale.ImeMode = CType(resources.GetObject("cboLocale.ImeMode"), System.Windows.Forms.ImeMode)
        Me.cboLocale.IntegralHeight = CType(resources.GetObject("cboLocale.IntegralHeight"), Boolean)
        Me.cboLocale.ItemHeight = CType(resources.GetObject("cboLocale.ItemHeight"), Integer)
        Me.cboLocale.Location = CType(resources.GetObject("cboLocale.Location"), System.Drawing.Point)
        Me.cboLocale.MaxDropDownItems = CType(resources.GetObject("cboLocale.MaxDropDownItems"), Integer)
        Me.cboLocale.MaxLength = CType(resources.GetObject("cboLocale.MaxLength"), Integer)
        Me.cboLocale.Name = "cboLocale"
        Me.cboLocale.RightToLeft = CType(resources.GetObject("cboLocale.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.cboLocale.Size = CType(resources.GetObject("cboLocale.Size"), System.Drawing.Size)
        Me.cboLocale.TabIndex = CType(resources.GetObject("cboLocale.TabIndex"), Integer)
        Me.cboLocale.Text = resources.GetString("cboLocale.Text")
        Me.cboLocale.Visible = CType(resources.GetObject("cboLocale.Visible"), Boolean)
        '
        'lblLocale
        '
        Me.lblLocale.AccessibleDescription = resources.GetString("lblLocale.AccessibleDescription")
        Me.lblLocale.AccessibleName = resources.GetString("lblLocale.AccessibleName")
        Me.lblLocale.Anchor = CType(resources.GetObject("lblLocale.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblLocale.AutoSize = CType(resources.GetObject("lblLocale.AutoSize"), Boolean)
        Me.lblLocale.Dock = CType(resources.GetObject("lblLocale.Dock"), System.Windows.Forms.DockStyle)
        Me.lblLocale.Enabled = CType(resources.GetObject("lblLocale.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.lblLocale, resources.GetString("lblLocale.Error"))
        Me.lblLocale.Font = CType(resources.GetObject("lblLocale.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.lblLocale, CType(resources.GetObject("lblLocale.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.lblLocale, CType(resources.GetObject("lblLocale.IconPadding"), Integer))
        Me.lblLocale.Image = CType(resources.GetObject("lblLocale.Image"), System.Drawing.Image)
        Me.lblLocale.ImageAlign = CType(resources.GetObject("lblLocale.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblLocale.ImageIndex = CType(resources.GetObject("lblLocale.ImageIndex"), Integer)
        Me.lblLocale.ImeMode = CType(resources.GetObject("lblLocale.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblLocale.Location = CType(resources.GetObject("lblLocale.Location"), System.Drawing.Point)
        Me.lblLocale.Name = "lblLocale"
        Me.lblLocale.RightToLeft = CType(resources.GetObject("lblLocale.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblLocale.Size = CType(resources.GetObject("lblLocale.Size"), System.Drawing.Size)
        Me.lblLocale.TabIndex = CType(resources.GetObject("lblLocale.TabIndex"), Integer)
        Me.lblLocale.Text = resources.GetString("lblLocale.Text")
        Me.lblLocale.TextAlign = CType(resources.GetObject("lblLocale.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblLocale.Visible = CType(resources.GetObject("lblLocale.Visible"), Boolean)
        '
        'txtDataSetName
        '
        Me.txtDataSetName.AccessibleDescription = resources.GetString("txtDataSetName.AccessibleDescription")
        Me.txtDataSetName.AccessibleName = resources.GetString("txtDataSetName.AccessibleName")
        Me.txtDataSetName.Anchor = CType(resources.GetObject("txtDataSetName.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.txtDataSetName.AutoSize = CType(resources.GetObject("txtDataSetName.AutoSize"), Boolean)
        Me.txtDataSetName.BackgroundImage = CType(resources.GetObject("txtDataSetName.BackgroundImage"), System.Drawing.Image)
        Me.txtDataSetName.Dock = CType(resources.GetObject("txtDataSetName.Dock"), System.Windows.Forms.DockStyle)
        Me.txtDataSetName.Enabled = CType(resources.GetObject("txtDataSetName.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.txtDataSetName, resources.GetString("txtDataSetName.Error"))
        Me.txtDataSetName.Font = CType(resources.GetObject("txtDataSetName.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.txtDataSetName, CType(resources.GetObject("txtDataSetName.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.txtDataSetName, CType(resources.GetObject("txtDataSetName.IconPadding"), Integer))
        Me.txtDataSetName.ImeMode = CType(resources.GetObject("txtDataSetName.ImeMode"), System.Windows.Forms.ImeMode)
        Me.txtDataSetName.Location = CType(resources.GetObject("txtDataSetName.Location"), System.Drawing.Point)
        Me.txtDataSetName.MaxLength = CType(resources.GetObject("txtDataSetName.MaxLength"), Integer)
        Me.txtDataSetName.Multiline = CType(resources.GetObject("txtDataSetName.Multiline"), Boolean)
        Me.txtDataSetName.Name = "txtDataSetName"
        Me.txtDataSetName.PasswordChar = CType(resources.GetObject("txtDataSetName.PasswordChar"), Char)
        Me.txtDataSetName.RightToLeft = CType(resources.GetObject("txtDataSetName.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.txtDataSetName.ScrollBars = CType(resources.GetObject("txtDataSetName.ScrollBars"), System.Windows.Forms.ScrollBars)
        Me.txtDataSetName.Size = CType(resources.GetObject("txtDataSetName.Size"), System.Drawing.Size)
        Me.txtDataSetName.TabIndex = CType(resources.GetObject("txtDataSetName.TabIndex"), Integer)
        Me.txtDataSetName.Text = resources.GetString("txtDataSetName.Text")
        Me.txtDataSetName.TextAlign = CType(resources.GetObject("txtDataSetName.TextAlign"), System.Windows.Forms.HorizontalAlignment)
        Me.txtDataSetName.Visible = CType(resources.GetObject("txtDataSetName.Visible"), Boolean)
        Me.txtDataSetName.WordWrap = CType(resources.GetObject("txtDataSetName.WordWrap"), Boolean)
        '
        'lblDataSetName
        '
        Me.lblDataSetName.AccessibleDescription = resources.GetString("lblDataSetName.AccessibleDescription")
        Me.lblDataSetName.AccessibleName = resources.GetString("lblDataSetName.AccessibleName")
        Me.lblDataSetName.Anchor = CType(resources.GetObject("lblDataSetName.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblDataSetName.AutoSize = CType(resources.GetObject("lblDataSetName.AutoSize"), Boolean)
        Me.lblDataSetName.Dock = CType(resources.GetObject("lblDataSetName.Dock"), System.Windows.Forms.DockStyle)
        Me.lblDataSetName.Enabled = CType(resources.GetObject("lblDataSetName.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.lblDataSetName, resources.GetString("lblDataSetName.Error"))
        Me.lblDataSetName.Font = CType(resources.GetObject("lblDataSetName.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.lblDataSetName, CType(resources.GetObject("lblDataSetName.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.lblDataSetName, CType(resources.GetObject("lblDataSetName.IconPadding"), Integer))
        Me.lblDataSetName.Image = CType(resources.GetObject("lblDataSetName.Image"), System.Drawing.Image)
        Me.lblDataSetName.ImageAlign = CType(resources.GetObject("lblDataSetName.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblDataSetName.ImageIndex = CType(resources.GetObject("lblDataSetName.ImageIndex"), Integer)
        Me.lblDataSetName.ImeMode = CType(resources.GetObject("lblDataSetName.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblDataSetName.Location = CType(resources.GetObject("lblDataSetName.Location"), System.Drawing.Point)
        Me.lblDataSetName.Name = "lblDataSetName"
        Me.lblDataSetName.RightToLeft = CType(resources.GetObject("lblDataSetName.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblDataSetName.Size = CType(resources.GetObject("lblDataSetName.Size"), System.Drawing.Size)
        Me.lblDataSetName.TabIndex = CType(resources.GetObject("lblDataSetName.TabIndex"), Integer)
        Me.lblDataSetName.Text = resources.GetString("lblDataSetName.Text")
        Me.lblDataSetName.TextAlign = CType(resources.GetObject("lblDataSetName.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblDataSetName.Visible = CType(resources.GetObject("lblDataSetName.Visible"), Boolean)
        '
        'ErrorProvider1
        '
        Me.ErrorProvider1.ContainerControl = Me
        Me.ErrorProvider1.Icon = CType(resources.GetObject("ErrorProvider1.Icon"), System.Drawing.Icon)
        '
        'UDataSet
        '
        Me.AccessibleDescription = resources.GetString("$this.AccessibleDescription")
        Me.AccessibleName = resources.GetString("$this.AccessibleName")
        Me.AutoScroll = CType(resources.GetObject("$this.AutoScroll"), Boolean)
        Me.AutoScrollMargin = CType(resources.GetObject("$this.AutoScrollMargin"), System.Drawing.Size)
        Me.AutoScrollMinSize = CType(resources.GetObject("$this.AutoScrollMinSize"), System.Drawing.Size)
        Me.BackgroundImage = CType(resources.GetObject("$this.BackgroundImage"), System.Drawing.Image)
        Me.Controls.Add(Me.txtDataSetName)
        Me.Controls.Add(Me.lblDataSetName)
        Me.Controls.Add(Me.chkEnforceConstraints)
        Me.Controls.Add(Me.chkCaseSensitive)
        Me.Controls.Add(Me.lblPrefix)
        Me.Controls.Add(Me.txtPrefix)
        Me.Controls.Add(Me.lblNamespace)
        Me.Controls.Add(Me.txtNamespace)
        Me.Controls.Add(Me.cboLocale)
        Me.Controls.Add(Me.lblLocale)
        Me.Enabled = CType(resources.GetObject("$this.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me, resources.GetString("$this.Error"))
        Me.Font = CType(resources.GetObject("$this.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me, CType(resources.GetObject("$this.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me, CType(resources.GetObject("$this.IconPadding"), Integer))
        Me.ImeMode = CType(resources.GetObject("$this.ImeMode"), System.Windows.Forms.ImeMode)
        Me.Location = CType(resources.GetObject("$this.Location"), System.Drawing.Point)
        Me.Name = "UDataSet"
        Me.RightToLeft = CType(resources.GetObject("$this.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.Size = CType(resources.GetObject("$this.Size"), System.Drawing.Size)
        Me.ResumeLayout(False)

    End Sub

#End Region

    Private pageSettings As Printing.PageSettings

    Public Event ValueChanged As EventHandler

    Private Sub UPresentation_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        AddHandler txtDataSetName.TextChanged, AddressOf OnValueChanged
        AddHandler chkEnforceConstraints.CheckedChanged, AddressOf OnValueChanged
        AddHandler chkCaseSensitive.CheckedChanged, AddressOf OnValueChanged
        AddHandler cboLocale.SelectionChangeCommitted, AddressOf OnValueChanged
        AddHandler txtNamespace.TextChanged, AddressOf OnValueChanged
        AddHandler txtPrefix.TextChanged, AddressOf OnValueChanged
    End Sub
    Private Sub txtDataSetName_Validated(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtDataSetName.Validated
        If txtDataSetName.Text = "" Then
            ErrorProvider1.SetError(txtDataSetName, "Data Set Name is required.")
        Else
            ErrorProvider1.SetError(txtDataSetName, "")
        End If
    End Sub

    Protected Sub OnValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
        RaiseEvent ValueChanged(Me, New EventArgs)
    End Sub

    Public Sub Prepare()
        cboLocale.Items.Clear()

        Dim ci As Globalization.CultureInfo
        For Each ci In Globalization.CultureInfo.GetCultures(Globalization.CultureTypes.AllCultures)
            cboLocale.Items.Add(ci)
        Next ci
    End Sub

    Public Sub Read(ByVal presentation As Model10.Presentation)
        txtDataSetName.Text = presentation.DataSet.DataSetName
        chkEnforceConstraints.Checked = presentation.DataSet.EnforceConstraints
        chkCaseSensitive.Checked = presentation.DataSet.CaseSensitive
        cboLocale.SelectedItem = presentation.DataSet.Locale
        txtNamespace.Text = presentation.DataSet.Namespace
        txtPrefix.Text = presentation.DataSet.Prefix
    End Sub
    Public Sub Write(ByVal presentation As Model10.Presentation)
        presentation.DataSet.DataSetName = txtDataSetName.Text
        presentation.DataSet.EnforceConstraints = chkEnforceConstraints.Checked
        presentation.DataSet.CaseSensitive = chkCaseSensitive.Checked
        presentation.DataSet.Locale = CType(cboLocale.SelectedItem, Globalization.CultureInfo)
        presentation.DataSet.Namespace = txtNamespace.Text
        presentation.DataSet.Prefix = txtPrefix.Text
    End Sub
End Class